/**
 * 
 */
package com.mvc.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mvc.model.healthmanager.archive.BloodOxygen;
import com.mvc.model.healthmanager.archive.Temperature;

/**
 * 体温Dao
 * @author qingjie
 *
 */
public interface TemperatureDao {
	/**
	 * 根据个人id,获取最新体温记录
	 * @author qingjie
	 * @param personId
	 * @return
	 * Date:2015-11-15
	 */
	public List<Temperature> getNewTemperature(@Param("personId") String personId);
	
	/**
	 * 根据条件,获取所有提问记录
	 * @author qingjie
	 * @param bOxygen
	 * @return
	 * Date:2015-11-15
	 */
	public List<Temperature> getTemperature(@Param("tem") Temperature tem);
	
	/**
	 * 获取json数据，根据个人id
	 * @author qingjie
	 * @return
	 * Date:2015-11-15
	 */
	public List<Temperature> getJsonData(@Param(value="personId") String personId);
	
	public void insertTemperature(@Param(value="temp") Temperature temp);
	public void insertTemperature_mb(@Param(value="temp") Temperature temp);
}
